package kuzmenkov.oip.service.impl;

import java.util.List;

/**
 * Class represents a item of the list of contacts. It is used on the Contact Page
 * User: Michael Kuzmenkov
 * Date: 27.03.2009
 * Time: 18:04:43
 */
public class ContactItem {
    /**
     * A name of a contact. It explains a group of links of the contact.
     * E.g. "Mr. Johnson"
     */
    private String name;
    /**
     * Links of a contact e.g. "tel - +375291234567"
     */
    private List<LinkItem> links;

    public ContactItem (String name, List<LinkItem> links) {
        this.name = name;
        this.links = links;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<LinkItem> getLinks() {
        return links;
    }

    public void setLinks(List<LinkItem> links) {
        this.links = links;
    }
}
